SlideShare a Scribd company logo
1 of 12
Euler’s Method Cathie Dominski Zoe Hsieh Linda Hong Stella Joh Period 3
What is Euler’s [OIL-er’s] Method? Numerical approach to approximating the particular solution of the differential equation y’=F(x,y) TRANSLATION: Essentially, you take an initial condition (a point), and use that condition as a starting point to take a small step h along the tangent line to get to a new point. Rinse and repeat using the new point as a starting point. *Note: The smaller the steps used, the more accurate your graph will be.
Explanation of Euler’s Method y’= F(x,y) w/ initial condition (x0,y0) x1= x0+h (h is your step) y1=y0+hF(x0,y0) Plug your initial condition into this formula to find (x1,y1) and RINSE AND REPEAT this is the slope of the tangent line at your initial point
F(x,y) How to write a first-order differential equation in the form Example: is rewritten as so that
y True Value yi+1, Predicted value  Φ yi h Step size x xi xi+1 Euler’s Method (standard)
Example 1: page 411 #69 Use Euler’s Method to make a table of values for the approximate solution of the differential equation with the specified initial value. Use n steps of size h. 		y’=x+y 	y(0)=2	n=10		h=0.1
Example 1: page 411 #69 Y(0)=2 N=10 H=0.1 	y1=y0+hF(x0,y0) 	y1=2+(0.1)(0+2) 	y1=2.2 	y2=y1+hF(x1,y1) 	y2=2.2+(0.1)(0.1+2.2) 	y2=2.43
Example 1: page 411 #69
Real Life Application… In 2000, the national debt of the United States was 5.6 trillion dollars and in 2001, the debt rose to 5.8 trillion dollars.  Using Euler’s method, one could have estimated the national debt for the following years. t= years where t=0 is 2000, w=debt in billions of dollars In year 2000 $5.6 trillion  in 2001 $5.8 trillion is a 2% increase. w’=.02w Using step size h=1 for the range (0,10) the first step would look something like… T0=0 W0=5628.7 W1=W0+F(t0,w0)(h) 5628.7+(.02 x 5628.7)(1) w(1)=$5741.3 in billions. So 2001, the estimated value of the national debt is about 5.7 trillion dollars. Still pretty close to the actual value…
If you keep going… You eventually get the estimated value for the annual debt of the United States up to year 10, 2010. However…, as you solve for more values of w, it gets more inaccurate because Euler’s method is just an estimation. By looking at the actual values of each year’s debt we can see the inaccuracy of the Euler’s method for this step size.
FIN! “No Tragic Mistakes!”

More Related Content

Similar to Eulermethod1

Mit18 330 s12_chapter5
Mit18 330 s12_chapter5Mit18 330 s12_chapter5
Mit18 330 s12_chapter5CAALAAA
 
2.3 Linear Models and Applications
2.3 Linear Models and Applications2.3 Linear Models and Applications
2.3 Linear Models and Applicationssmiller5
 
8.3 the number e
8.3 the number e8.3 the number e
8.3 the number ehisema01
 
Data Analysison Regression
Data Analysison RegressionData Analysison Regression
Data Analysison Regressionjamuga gitulho
 
Economics Assignment Sample Problems Set 6 with Solutions
Economics Assignment Sample Problems Set 6 with SolutionsEconomics Assignment Sample Problems Set 6 with Solutions
Economics Assignment Sample Problems Set 6 with SolutionsHebrew Johnson
 
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docxCALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docxRAHUL126667
 
Skiena algorithm 2007 lecture21 other reduction
Skiena algorithm 2007 lecture21 other reductionSkiena algorithm 2007 lecture21 other reduction
Skiena algorithm 2007 lecture21 other reductionzukun
 
Calculus Application Problem #3 Name _________________________.docx
Calculus Application Problem #3 Name _________________________.docxCalculus Application Problem #3 Name _________________________.docx
Calculus Application Problem #3 Name _________________________.docxhumphrieskalyn
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONDhrupal Patel
 
Intro to econometrics
Intro to econometricsIntro to econometrics
Intro to econometricsGaetan Lion
 
Linear Equations Ppt
Linear Equations PptLinear Equations Ppt
Linear Equations PptScott R
 
Linear Equations Ppt
Linear Equations PptLinear Equations Ppt
Linear Equations PptScott R
 

Similar to Eulermethod1 (20)

Mit18 330 s12_chapter5
Mit18 330 s12_chapter5Mit18 330 s12_chapter5
Mit18 330 s12_chapter5
 
Es272 ch7
Es272 ch7Es272 ch7
Es272 ch7
 
Exponential functions
Exponential functionsExponential functions
Exponential functions
 
2.3 Linear Models and Applications
2.3 Linear Models and Applications2.3 Linear Models and Applications
2.3 Linear Models and Applications
 
Calc 6.1a
Calc 6.1aCalc 6.1a
Calc 6.1a
 
8.3 the number e
8.3 the number e8.3 the number e
8.3 the number e
 
Week 7
Week 7Week 7
Week 7
 
Data Analysison Regression
Data Analysison RegressionData Analysison Regression
Data Analysison Regression
 
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
 
Economics Assignment Sample Problems Set 6 with Solutions
Economics Assignment Sample Problems Set 6 with SolutionsEconomics Assignment Sample Problems Set 6 with Solutions
Economics Assignment Sample Problems Set 6 with Solutions
 
Calculus Assignment Help
Calculus Assignment HelpCalculus Assignment Help
Calculus Assignment Help
 
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docxCALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
CALIFORNIA STATE UNIVERSITY, NORTHRIDGEMECHANICAL ENGINEERIN.docx
 
Skiena algorithm 2007 lecture21 other reduction
Skiena algorithm 2007 lecture21 other reductionSkiena algorithm 2007 lecture21 other reduction
Skiena algorithm 2007 lecture21 other reduction
 
Calculus Application Problem #3 Name _________________________.docx
Calculus Application Problem #3 Name _________________________.docxCalculus Application Problem #3 Name _________________________.docx
Calculus Application Problem #3 Name _________________________.docx
 
Chap14_combined.ppt
Chap14_combined.pptChap14_combined.ppt
Chap14_combined.ppt
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
Euler Method
Euler MethodEuler Method
Euler Method
 
Intro to econometrics
Intro to econometricsIntro to econometrics
Intro to econometrics
 
Linear Equations Ppt
Linear Equations PptLinear Equations Ppt
Linear Equations Ppt
 
Linear Equations Ppt
Linear Equations PptLinear Equations Ppt
Linear Equations Ppt
 

Recently uploaded

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Eulermethod1

  • 1. Euler’s Method Cathie Dominski Zoe Hsieh Linda Hong Stella Joh Period 3
  • 2. What is Euler’s [OIL-er’s] Method? Numerical approach to approximating the particular solution of the differential equation y’=F(x,y) TRANSLATION: Essentially, you take an initial condition (a point), and use that condition as a starting point to take a small step h along the tangent line to get to a new point. Rinse and repeat using the new point as a starting point. *Note: The smaller the steps used, the more accurate your graph will be.
  • 3. Explanation of Euler’s Method y’= F(x,y) w/ initial condition (x0,y0) x1= x0+h (h is your step) y1=y0+hF(x0,y0) Plug your initial condition into this formula to find (x1,y1) and RINSE AND REPEAT this is the slope of the tangent line at your initial point
  • 4. F(x,y) How to write a first-order differential equation in the form Example: is rewritten as so that
  • 5. y True Value yi+1, Predicted value Φ yi h Step size x xi xi+1 Euler’s Method (standard)
  • 6. Example 1: page 411 #69 Use Euler’s Method to make a table of values for the approximate solution of the differential equation with the specified initial value. Use n steps of size h. y’=x+y y(0)=2 n=10 h=0.1
  • 7. Example 1: page 411 #69 Y(0)=2 N=10 H=0.1 y1=y0+hF(x0,y0) y1=2+(0.1)(0+2) y1=2.2 y2=y1+hF(x1,y1) y2=2.2+(0.1)(0.1+2.2) y2=2.43
  • 8. Example 1: page 411 #69
  • 9. Real Life Application… In 2000, the national debt of the United States was 5.6 trillion dollars and in 2001, the debt rose to 5.8 trillion dollars. Using Euler’s method, one could have estimated the national debt for the following years. t= years where t=0 is 2000, w=debt in billions of dollars In year 2000 $5.6 trillion  in 2001 $5.8 trillion is a 2% increase. w’=.02w Using step size h=1 for the range (0,10) the first step would look something like… T0=0 W0=5628.7 W1=W0+F(t0,w0)(h) 5628.7+(.02 x 5628.7)(1) w(1)=$5741.3 in billions. So 2001, the estimated value of the national debt is about 5.7 trillion dollars. Still pretty close to the actual value…
  • 10. If you keep going… You eventually get the estimated value for the annual debt of the United States up to year 10, 2010. However…, as you solve for more values of w, it gets more inaccurate because Euler’s method is just an estimation. By looking at the actual values of each year’s debt we can see the inaccuracy of the Euler’s method for this step size.
  • 11.
  • 12. FIN! “No Tragic Mistakes!”